package com.hl.card.credit.pub.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hl.card.credit.pub.dao.AbstractDao;
import com.hl.card.credit.pub.dao.PublicOrderTimeNodeDao;
import com.hl.card.credit.pub.entity.PublicOrderTimeNode;
import com.hl.card.credit.pub.model.PublicOrderTimeNodeModel;

//@Service
public class PublicOrderTimeNodeService extends
		AbstractService<PublicOrderTimeNode, Integer> {

//	@Autowired
	private PublicOrderTimeNodeDao<PublicOrderTimeNode, Integer> dao;

	@Override
	protected AbstractDao<PublicOrderTimeNode, Integer> getDao() {
		return dao;
	}

	/**
	 * 
	 * @Title: queryPublicOrderTimeNode
	 * @Description: TODO(获取时间节点数据详情)
	 * @param @param publicOrderTimeNodeModel
	 * @param @return 参数
	 * @return Map<String,Object> 返回类型
	 * @throws
	 */
	public Map<String, Object> queryPublicOrderTimeNode(
			PublicOrderTimeNodeModel publicOrderTimeNodeModel) {
		return dao.queryPublicOrderTimeNode(publicOrderTimeNodeModel);
	}

	public List<PublicOrderTimeNode> queryList(PublicOrderTimeNodeModel publicOrderTimeNodeModel) {
		// TODO Auto-generated method stub
		return dao.queryList(publicOrderTimeNodeModel);
	}

}
